Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

12. As a user, I want to delete items #68

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikeramz86
Copy link
Contributor

No description provided.

@mikeramz86 mikeramz86 self-assigned this Mar 5, 2020
@prophen
Copy link
Contributor

prophen commented Mar 5, 2020

Heads up, @mikeramz86. There's a delete item function in listContext

  const deleteItem = item => {
    itemsRef
      .doc(item.id)
      .delete()
      .then(function() {})
      .catch(function(error) {
        console.error('Error removing document: ', error);
      });
  };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants